const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,

  username: state => state.user.userInfo.username,
  avatar: state => state.user.userInfo.staffPhoto,
  // avatar: state => state.user.avatar,
  staffPhoto: state => state.user.userInfo.staffPhoto,
  company: state => state.user.userInfo.company,
  departmentName: state => state.user.userInfo.departmentName,
  name: state => state.user.name
}
export default getters
